package com.lleice.service.mapstruct;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.lleice.service.entity.sys.SysResource;
import com.lleice.service.qo.sys.ResourceReq;

/**
 * 资源类型互转
 * @author lizihao
 *
 */
@Mapper
public interface SysResourceConverMapper {
	SysResourceConverMapper INSTANCES = Mappers.getMapper(SysResourceConverMapper.class);
	/**
	 * 资源新增参数转资源表entity
	 * @param req
	 * @return
	 */
	SysResource resourceReqToSysResource(ResourceReq req);
}
